#!/bin/bash

str="abcd fghij klmn"

len=${#str}

echo $len